package com.ruoyi.procurementmanagement.service;

import com.ruoyi.procurementmanagement.domain.ErpGoodsLabel;

import java.util.List;

public interface IErpGoodsLabelRelationService {
    /**
     * 更新商品标签关系
     * @param goodsId 商品ID
     * @param labelIds 标签ID列表
     */
    void updateGoodsLabelRelations(Long goodsId, List<Long> labelIds);

    /**
     * 获取商品的标签列表
     * @param goodsId 商品ID
     * @return 标签列表
     */
    List<ErpGoodsLabel> getGoodsLabels(Long goodsId);
}
